package cn.hzc.fortess.system.dao;

import cn.hzc.fortess.system.entity.SettingBean;
import cn.hzc.fortess.system.search.SettingSearch;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SettingDao {

    int delete(Integer id);

    String findValByKey(String key);

    SettingBean findByKey(String key);

    int insert(SettingBean record);

    SettingBean find(Integer id);

    int update(SettingBean record);

    List<SettingBean> page(SettingSearch search);

    long count(SettingSearch search);
}